//
//  PxTabBar.h
//  PxBusWifi
//
//  Created by Xu Yefeng on 14-4-18.
//  Copyright (c) 2014年 Free. All rights reserved.
//

#import <UIKit/UIKit.h>

@class PxTabBar;

@protocol PxTabBarDelegate <NSObject>

- (void)tabSelected:(PxTabBar*)tabbar index:(NSInteger)index;

@end

@interface PxTabBar : UIView

// a, a-hi, b, b-hi, ....
- (void)setImageNameList:(NSArray*)imageNameList;
- (void)setBtnTitle:(NSArray*)titleList;

- (void)manualSetSelectIndex:(NSInteger)index;

@property (nonatomic, assign) NSObject<PxTabBarDelegate> *tabDelegate;
@property (nonatomic, assign) NSInteger currentIndex;

@end
